package killerqueen.game.main;

import org.newdawn.slick.Input;
import org.newdawn.slick.MouseListener;

public class MainMouseListener implements MouseListener {

	boolean keyMap[] = new boolean[256];
	GameMain gameMain;

	public MainMouseListener(GameMain gameMain) {
		this.gameMain = gameMain;
	}

	@Override
	public void inputEnded() {

	}

	@Override
	public void inputStarted() {

	}

	@Override
	public boolean isAcceptingInput() {
		return true;
	}

	@Override
	public void setInput(Input arg0) {
		// TODO Auto-generated method stub

	}

	@Override
	public void mouseClicked(int arg0, int arg1, int arg2, int arg3) {
		// System.out.println("click");

	}

	@Override
	public void mouseDragged(int arg0, int arg1, int arg2, int arg3) {
		// TODO Auto-generated method stub

	}

	@Override
	public void mouseMoved(int arg0, int arg1, int arg2, int arg3) {
		// TODO Auto-generated method stub

	}

	@Override
	public void mousePressed(int arg0, int arg1, int arg2) {
		// TODO Auto-generated method stubs

	}

	@Override
	public void mouseReleased(int arg0, int arg1, int arg2) {
		// TODO Auto-generated method stub

	}

	@Override
	public void mouseWheelMoved(int change) {
		if (change > 0 && gameMain.scale_factor < 35) {
			gameMain.scale_factor++;
		}
		if (change < 0 && gameMain.scale_factor > 10) {
			gameMain.scale_factor--;
		}
	}

}
